﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 员工收入
    /// </summary>
    public interface IStaffSalaryService
    {
        Task<int> AddStaffSalaryAsync(decimal salary,int staffId);
        Task<int> EditStaffSalaryAsync(int id, decimal salary, int staffId);
        Task<int> DeleteStaffSalaryAsync(int id);
        Task<List<StaffSalaryDto>> QueryStaffSalaryAllAsync();
        Task<StaffSalaryDto> QueryStaffSalaryByIdAsync(int id);
        Task<List<StaffSalaryDto>> QueryStaffSalaryByNameAsync(int staffId);
    }
}
